<%@ include file="../common/top.jsp" %>

<div id="Catalog">

    <form action="registerForm" method="post">
        <p>Please enter your username and password.</p>
        <c:if test="${sessionScope.registerMsg != null}">
            <p> <font color="red">${sessionScope.registerMsg} </font> </p>
        </c:if>
        <div id="registerMsg" >
            <%--<p>The userName is existed!</p>--%>
        </div>

        <p>
            Username:<input type="text" name="username" id="username"> <br />
            Password:<input type="password" name="password" class="password-field"> <br/>
            repeat password:<input type="password" name="repeatedPassword" class="password-field">
        </p>
        <input type="submit" value="Register" id="registerBtn">
    </form>
</div>
<script src="js/isAccountExist.js"></script>
<%@ include file="../common/bottom.jsp" %>